class pos(object):
    def __init__(self,x=0,y=0):
        self.x=x
        self.y=y
    def __eq__(self,other):
        return self.x<other.x
    def __lt__(self,other):
        return self.x<other.x
    def __gt__(self,other):
        return self.x<other.x